﻿<%@ Page Title="OrderGenPage" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="OrderGenPage.aspx.cs" Inherits="OrderGenPage" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <p>
        <asp:GridView ID="ItemsData" runat="server" BackColor="White" AutoGenerateColumns="false"
            BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
            GridLines="Vertical">
            <AlternatingRowStyle BackColor="Gainsboro" />
            <Columns>
                <asp:BoundField HeaderText="ISBN" DataField="ItemISBN" />
                <asp:BoundField HeaderText="书名" DataField="ItemName" />
                <asp:BoundField HeaderText="单价" DataField="UnitPrice" />
                <asp:BoundField HeaderText="数量" DataField="Quantity" />
            </Columns>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
    </p>
    <p>
        请填写以下信息：
    </p>
    <p>
        <asp:Label ID="Label1" runat="server" Text="收货人姓名： "></asp:Label>
        <asp:TextBox ID="Shipname" runat="server" ></asp:TextBox>
    </p>    
    <p>
        <asp:Label ID="Label2" runat="server" Text="地　　　址： "></asp:Label>
        <asp:TextBox ID="Address" runat="server" ></asp:TextBox>
    </p>
    
    <p>
        <asp:Label ID="Label3" runat="server" Text="电　　　话： "></asp:Label>
        <asp:TextBox ID="PhoneNumber" runat="server" ></asp:TextBox>
    </p>
    <p>
        <asp:Button ID="subButton" Text="提交订单" runat="server" onclick="subButton_Click" />
        <asp:Button ID="backButton" Text="返回购物车" runat = "server" 
            onclick="backButton_Click" />
    </p>
    

</asp:Content>
